# -*- coding: utf-8 -*-
import time
import signal
import sys


def signal_handler(signal, frame):
    print('You pressed Ctrl+C!')
    sys.exit(0)


def __del__(self):
    print("del")

class ob():
    def __del__(self):
        print("del")

ob()

for _ in range(1000):
    time.sleep(2)
    pass